package com.ruiya.staging.goods.dataio.mapper;

import com.ruiya.staging.goods.data.grpc.GoodsInfo;
import com.ruiya.staging.goods.dataio.model.GoodsInfoDO;

public class MapperDO {

    public static GoodsInfoDO mapToGoodsInfoDO(GoodsInfo goodsInfo) {
        return GoodsInfoDOMapper.INSTANCE.mapToGoodsInfoDO(goodsInfo);
    }

    public static GoodsInfo mapFromGoodsInfoDTO(GoodsInfoDO goodsInfoDO){
        return GoodsInfoDOMapper.INSTANCE.mapFromGoodsInfoDTO(goodsInfoDO);
    }




}
